package net.modul.customer.service;

import java.util.List;

import net.common.service.GeneralService;
import net.modul.customer.dao.CustomerDao;
import net.modul.customer.dao.impl.CustomerDaoImpl;
import net.modul.customer.vo.CustomerVo;

/**
 * 客户查询业务处理
 * 
 * @author Administrator
 *
 */
public class CustomerSearchService extends GeneralService {

	private List<CustomerVo> list;
	private CustomerVo bean;
	
	@Override
	public void execute() throws Exception {
		CustomerDao dao = new CustomerDaoImpl();
		list = dao.search(pageBean, bean);
	}

	public List<CustomerVo> getList() {
		return list;
	}

	public void setBean(CustomerVo bean) {
		this.bean = bean;
	}

}
